class ChangeCpfAndNomeAndEmailFromDadosPessoais < ActiveRecord::Migration
  def self.up
    change_table :dados_pessoais do |t|
      t.change :nome, :string, :null => false
      t.change :cpf, :string, :null => false
      t.change :email, :string, :null => false
    end

  end

  def self.down
    change_table :dados_pessoais do |t|
      t.change :nome, :string
      t.change :cpf, :string
      t.change :email, :string
    end

  end
end
